perl-lwp-protocol-https: new module LWP::Protocol::https, version 6.14
authorJens Wagner <[email protected]>
Sun, 6 Jul 2025 23:45:57 +0000 (01:45 +0200)
committerJosef Schlehofer <[email protected]>
Sun, 13 Jul 2025 10:15:53 +0000 (12:15 +0200)
This module is a plug-in for LWP (perl-www),
provides https support for  LWP::UserAgent

Signed-off-by: Jens Wagner <[email protected]>
lang/perl/perl-lwp-protocol-https/Makefile [new file with mode: 0644]

diff --git a/lang/perl/perl-lwp-protocol-https/Makefile b/lang/perl/perl-lwp-protocol-https/Makefile
new file mode 100644 (file)
index 0000000..1a54912
--- /dev/null
@@ -0,0 +1,45 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=perl-lwp-protocol-https
+PKG_VERSION:=6.14
+PKG_RELEASE:=1
+
+METACPAN_NAME:=LWP-Protocol-https
+METACPAN_AUTHOR:=OALDERS
+PKG_HASH:=59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a
+
+PKG_MAINTAINER:=Jens Wagner <[email protected]>
+PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
+PKG_LICENSE_FILES:=LICENSE
+
+include ../metacpan.mk
+include $(INCLUDE_DIR)/package.mk
+include ../perlmod.mk
+
+define Package/perl-lwp-protocol-https
+  SUBMENU:=Perl
+  SECTION:=lang
+  CATEGORY:=Languages
+  TITLE:=https support for LWP::UserAgent
+  URL:=https://metacpan.org/pod/LWP::Protocol::https
+  DEPENDS:=perl +perlbase-essential +perl-io-socket-ssl +perl-www +perl-net-http
+endef
+
+define Package/perl-lwp-protocol-https/description
+  The LWP::Protocol::https module provides support for using
+  https schemed URLs with LWP::UserAgent
+endef
+
+define Build/Configure
+    $(call perlmod/Configure,,)
+endef
+
+define Build/Compile
+    $(call perlmod/Compile,,)
+endef
+
+define Package/perl-lwp-protocol-https/install
+    $(call perlmod/Install,$(1),LWP)
+endef
+
+$(eval $(call BuildPackage,perl-lwp-protocol-https))